﻿using System;
using System.Text;
using IAM.Interface.Model;
using IAM.Interface.IDAL;
using System.Xml;
using ResponseLocalLibrary;

namespace IAM.Interface.DAL.Response
{
    /// <summary>
    /// 人员权限管理
    /// </summary>
    public class ACIMgnt : IACIMgnt
    {
        Business business = new Business();
        #region 成员方法
        /// <summary>
        /// 获取权限模型
        /// </summary>
        /// <returns>所有的权限模型</returns>
        public ACMMode GetACIModel()
        {
            return business.GetACIModel();
        }
        /// <summary>
        /// 获取用户权限信息
        /// </summary>
        /// <param name="accountinfo">人员帐号信息</param>
        /// <returns>用户的权限信息</returns>
        public ACI GetUserACI(AccountInfo accountinfo)
        {
            return business.GetUserACI(accountinfo);
        }
        /// <summary>
        /// 设置用户权限信息
        /// </summary>
        /// <param name="acisessions">用户的权限信息</param>
        /// <returns>设置后用户权限信息</returns>
        public ACI SetUserACI(ACI aci)
        {
            return business.SetUserACI(aci);
        }
        #endregion
    }
}
